{% for message in messages %}
    <div class="alert alert-{{ message.tags }} alert-dismissable" role="alert">
        <button type="button" class="btn-close float-end" data-bs-dismiss="alert" aria-label="Close"></button>
        {{ message }}
    </div>
{% endfor %}
